import { axios } from '@/utils/request'
export function pustShopGoodsList(query) {      //门店商品关联关系维护——获取平台未推送到门店的商品列表
  return axios({
    url: '/yjsh/platformgoodsinfo/pustShopGoodsList',
    method: 'get',
    params: query
  })
}
export function pustShopGoodsPage(query) {      //门店商品关联关系维护——获取平台未推送到门店的商品列表
  return axios({
    url: '/yjsh/platformgoodsinfo/pustShopGoodsPage',
    method: 'get',
    params: query
  })
}

export function pushGoodsToShop(obj) {   //平台商品推送
  return axios({
    url: '/yjsh/platformgoodsinfo/pushGoodsToShop',
    method: 'post',
    data: obj
  })
}

export function platformgoodscategory(query) {  //类目树
  return axios({
    url: '/yjsh/platformgoodscategory/tree',
    method: 'get',
    params: query
  })
}
